package org.mlz.game.ext

import org.mlz.game.model.View

/**
 *<p>
 *
 *</p>
 * CreateBy  Malingzhao
 * @date  2020/9/21
 */

fun View.checkCollision(view: View): Boolean {
    return     checkCollision(x, y, width, height, view.x, view.y, view.width, view.height)

}
